package com.tucy.logistics.modules.goods.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tucy.logistics.common.dto.goods.GoodsTypeTransportDto;
import com.tucy.logistics.common.entity.goods.GoodsTypeTransport;

/**
* @author tucy123
* @description 针对表【goods_type_transport(货物类型运输表)】的数据库操作Service
* @createDate 2023-10-12 15:26:34
*/
public interface GoodsTypeTransportService extends IService<GoodsTypeTransport> {

    /**
     * 货品运输查询
     * @param goodsTypeTransportDto
     * @return
     */
    Page<GoodsTypeTransport> queryAll(GoodsTypeTransportDto goodsTypeTransportDto);

    /**
     * 增改货品运输
     * @param goodsTypeTransport
     * @return
     */
    Boolean saveUpdateGoods(GoodsTypeTransport goodsTypeTransport);

    /**
     * 删除货品运输
     * @param id
     * @return
     */
    Boolean deleteGoodsTransport(String id);

    /**
     * 货品运输详情
     * @param id
     * @return
     */
    GoodsTypeTransport detailsGoodsTransport(String id);
}
